package com.gdou.service;

import com.gdou.commons.Result;
import com.gdou.dto.UserDto;
import com.gdou.dto.UserSearchDto;

public interface UserService {

    /**
     * 分页查询员工信息
     * @param pageNum 页码
     * @param pageSize 每页行数
     * @return 同于返回类型
     */
    Result findUsersByPage(Integer pageNum, Integer pageSize);

    Result saveUser(UserDto userDto);

    Result removeOneUser(Long id);

    Result removeManyUser(String id);

    Result modifyUser(UserDto userDto);

    Result findUsersBySearch(UserSearchDto userSearchDto);

}
